package com.cloud.custom.common.utils;

import com.cloud.custom.common.context.HumanSession;

public class SessionHelper {
	public static final ThreadLocal<HumanSession> HUMAN_SESSION = new ThreadLocal<HumanSession>();

	public static void set(HumanSession humanSession) {
		HUMAN_SESSION.set(humanSession);
	}

	public static HumanSession get() {
		return HUMAN_SESSION.get();
	}

	public static void clear() {
		HUMAN_SESSION.remove();
	}
}
